package com.itheima.Service;

import com.itheima.mapper.UserMapper;
import com.itheima.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.sound.sampled.Port;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;


    public User querBuid(long id){
        User user = userMapper.findById(id);
        return user;
    }


}
